package com.encyclopedia.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
@TableName("plant_cultivation_kind")
public class Kind {
    /**
     * 品种id
     */
    @TableField("kind_id")
    Integer kindId;
    /**
     * 品种介绍
     */
//    @TableField("kind_introduce")
    String kindIntroduce;
    /**
     * 种植信息id
     */
    @TableField("kind_name")
    String kindName;
    //    @TableField("kind_img")
    String kindImg;
    @TableField("cultivation_id")
    Integer cultivationId;

    @Override
    public String toString() {
        return "Kind{" +
                "kindId=" + kindId +
                ", kindIntroduce='" + kindIntroduce + '\'' +
                ", kindName='" + kindName + '\'' +
                ", kindImg='" + kindImg + '\'' +
                ", cultivationId=" + cultivationId +
                '}';
    }
}
